package tr.edu.yildiz.appagentandroid;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

import tr.edu.yildiz.appagentandroid.service.AndroidDownloadManagerImpl;
import tr.edu.yildiz.appagentandroid.service.AndroidNetworkManagerImpl;
import tr.edu.yildiz.appagentandroid.service.AndroidResourceManagerImpl;
import tr.edu.yildiz.ce.dap.appagent.service.infra.DownloadManager;
import tr.edu.yildiz.ce.dap.appagent.service.infra.NetworkManager;
import tr.edu.yildiz.ce.dap.appagent.service.infra.ResourceManager;

public class Activator implements BundleActivator{
	
	public void start(BundleContext context) throws Exception {
		context.registerService(NetworkManager.class.getName(), new AndroidNetworkManagerImpl(), null);
		context.registerService(DownloadManager.class.getName(), new AndroidDownloadManagerImpl(), null);
		context.registerService(ResourceManager.class.getName(), new AndroidResourceManagerImpl(), null);
	}

	public void stop(BundleContext context) throws Exception {
		
		
	}

}
